

#ifndef CardCpu_h__
#define CardCpu_h__
#include <stdint.h>
#include "CardDefine.h"
#include "Contactless/WCI.h"

Card_T* Card_CPU_Create(WCI* wci, unsigned char type);
void Card_CPU_Destroy(Card_T * card);
int Card_CPU_Probe(Card_T* card);
int Card_CPU_Activate(Card_T* card);
int Card_CPU_Deactivate(Card_T* card);
int Card_CPU_Setup(Card_T * card, uint8_t cid, uint8_t fsdi, void* param, uint8_t ats[]);
int Card_CPU_Teardown(Card_T* card);
int Card_CPU_Exchange(Card_T* card, 
	unsigned char capdu[], unsigned int clen, unsigned char rapdu[], unsigned int* rlen);
int Card_CPU_Check(Card_T* card);
#endif // CardCpu_h__